<?php

### Require WordPress Header
require(dirname(__FILE__).'/wp-blog-header.php');

?>
<?php get_header(); ?>

  <div id="main">

    <!--div id="banner"></div-->
    <div id="banner" align="center"><img src="http://mektoub.free.fr/blog/wp-content/themes/zebulon/inc/banner.gif"></div>

		<?php require('wp-content/themes/zebulon/menu.php'); ?>

				<div class="wp-pagenavi"><br></div>
		    <div class="post-spacer"></div>

    <div class="post">
        <h2 class="post-title" id="stats">Statistiques des articles</h2>
        <div class="post-content">
	    <blockquote>
	    	<p><strong>Nombre total d'articles : <?php get_totalposts(); ?></strong></p>
		    <table width="450">
		    	<?php getAuthorStats("<tr><td width=\"300\"><strong>", "</strong></td><td align=\"right\" width=\"150\">", " Articles</td></tr>"); ?>
		    </table>
	    </blockquote>
        </div>
    </div>
		    <div class="post-spacer"></div>
    <div class="post">
        <h2 class="post-title" id="stats">Statistiques des commentaires</h2>
        <div class="post-content">
	    <blockquote>
	    	<p><strong>Nombre total de commentaires : <?php get_totalcomments(); ?></strong></p>
		    <table width="450">
		    	<?php getCommentStats("<tr><td width=\"300\"><strong>", "</strong></td><td align=\"right\" width=\"150\">", " Commentaires</td></tr>"); ?>
		    </table>
	    </blockquote>
        </div>
    </div>
		    <div class="post-spacer"></div>
    <div class="post">
        <h2 class="post-title" id="stats">R&eacute;partition des articles dans le temps</h2>
        <div class="post-content">
	    <blockquote>
		    <table width="350">
		    	<?php getPostCountByMonth("<tr><td width=\"200\">", "</td><td align=\"center\" width=\"150\">", "</td></tr>"); ?>
		    </table>
	    </blockquote>
        </div>
    </div>
		    <div class="post-spacer"></div>
    <div class="post">
        <h2 class="post-title" id="stats">R&eacute;partition des commentaires dans le temps</h2>
        <div class="post-content">
	    <blockquote>
		    <table width="350">
		    	<?php getCommentCountByMonth("<tr><td width=\"200\">", "</td><td align=\"center\" width=\"150\">", "</td></tr>"); ?>
		    </table>
	    </blockquote>
        </div>
    </div>
		    <div class="post-spacer"></div>
</div>

    <?php get_sidebar(); ?>

<?php get_footer(); ?>
